<!DOCTYPE html>
<html lang="zh-cn">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <title>Lglspace‘s Blog</title>
  <meta name="renderer" content="webkit" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>

<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />

<meta name="theme-color" content="#f8f5ec" />
<meta name="msapplication-navbutton-color" content="#f8f5ec">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="#f8f5ec">


<meta name="author" content="lglspace" /><meta name="description" content="Lglspace Technology Blog." /><meta name="keywords" content="lglspace, blog, lgl" />






<meta name="generator" content="Hugo 0.79.0 with theme even" />


<link rel="canonical" href="https://lglspace.cn/" />
  <link href="https://lglspace.cn/index.xml" rel="alternate" type="application/rss+xml" title="Lglspace‘s Blog" />
  <link href="https://lglspace.cn/index.xml" rel="feed" type="application/rss+xml" title="Lglspace‘s Blog" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/manifest.json">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">



<link href="/sass/main.min.b5a744db6de49a86cadafb3b70f555ab443f83c307a483402259e94726b045ff.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@3.1.20/dist/jquery.fancybox.min.css" integrity="sha256-7TyXnr2YU040zfSP+rEcz29ggW4j56/ujTPwjMzyqFY=" crossorigin="anonymous">
<link rel="stylesheet" href="/css/even-custom.css">


<meta property="og:title" content="Lglspace‘s Blog" />
<meta property="og:description" content="Lglspace Technology Blog." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://lglspace.cn/" />
<meta property="og:updated_time" content="2021-05-04T23:50:38+08:00" />
<meta itemprop="name" content="Lglspace‘s Blog">
<meta itemprop="description" content="Lglspace Technology Blog.">
<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="Lglspace‘s Blog"/>
<meta name="twitter:description" content="Lglspace Technology Blog."/>

<!--[if lte IE 9]>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/classlist/1.1.20170427/classList.min.js"></script>
<![endif]-->

<!--[if lt IE 9]>
  <script src="https://cdn.jsdelivr.net/npm/html5shiv@3.7.3/dist/html5shiv.min.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/respond.js@1.4.2/dest/respond.min.js"></script>
<![endif]-->

</head>
<body>
  <div id="mobile-navbar" class="mobile-navbar">
  <div class="mobile-header-logo">
    <a href="/" class="logo">Lglspace</a>
  </div>
  <div class="mobile-navbar-icon">
    <span></span>
    <span></span>
    <span></span>
  </div>
</div>
<nav id="mobile-menu" class="mobile-menu slideout-menu">
  <ul class="mobile-menu-list">
    <a href="/">
        <li class="mobile-menu-item">主页</li>
      </a><a href="/post/">
        <li class="mobile-menu-item">归档</li>
      </a><a href="/tags/">
        <li class="mobile-menu-item">标签</li>
      </a><a href="/categories/">
        <li class="mobile-menu-item">分类</li>
      </a>
  </ul>

  


</nav>

  <div class="container" id="mobile-panel">
    <header id="header" class="header">
        <div class="logo-wrapper">
  <a href="/" class="logo">Lglspace</a>
</div>





<nav class="site-navbar">
  <ul id="menu" class="menu">
    <li class="menu-item">
        <a class="menu-item-link" href="/">主页</a>
      </li><li class="menu-item">
        <a class="menu-item-link" href="/post/">归档</a>
      </li><li class="menu-item">
        <a class="menu-item-link" href="/tags/">标签</a>
      </li><li class="menu-item">
        <a class="menu-item-link" href="/categories/">分类</a>
      </li>
  </ul>
</nav>

    </header>

    <main id="main" class="main">
      <div class="content-wrapper">
        <div id="content" class="content">
          <section id="posts" class="posts">
    <article class="post">
  <header class="post-header">
    <h1 class="post-title"><a class="post-link" href="/post/java/java-jpa-query/">SpringBoot之JPA数据查询备忘</a></h1>
    <div class="post-meta">
      <span class="post-time"> 2020-11-06 </span>
      <div class="post-category">
          <a href="/categories/java/"> java </a>
          </div>
    </div>
  </header>
  
  <div class="post-content">
    <div class="post-summary">
      查询类 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 package cn.lglspace.stulab.repository; import java.util.List; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.data.jpa.domain.Specification; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Query; import org.springframework.data.repository.query.Param; import org.springframework.stereotype.Repository; import cn.lglspace.stulab.domain.Teacher; @Repository
    </div>
    <div class="read-more">
      <a href="/post/java/java-jpa-query/" class="read-more-link">阅读更多</a>
    </div>
  </div>
</article>

    <article class="post">
  <header class="post-header">
    <h1 class="post-title"><a class="post-link" href="/post/windows/windows-csv-errorcode/">CSV文件用Excel打开中文乱码</a></h1>
    <div class="post-meta">
      <span class="post-time"> 2020-11-06 </span>
      <div class="post-category">
          <a href="/categories/windows/"> windows </a>
          </div>
    </div>
  </header>
  
  <div class="post-content">
    <div class="post-summary">
      参考文章 https://baijiahao.baidu.com/s?id=1634287239598842140&amp;wfr=spider&amp;for=pc 方法一 使用记事本打开CSV文件。 点击菜单：文件-另存为，编码方式选择ANSI。 保存完毕后，再用EXCEL打开这个文件就不会出现乱码
    </div>
    <div class="read-more">
      <a href="/post/windows/windows-csv-errorcode/" class="read-more-link">阅读更多</a>
    </div>
  </div>
</article>

    <article class="post">
  <header class="post-header">
    <h1 class="post-title"><a class="post-link" href="/post/java/java-cp/">java -cp命令使用</a></h1>
    <div class="post-meta">
      <span class="post-time"> 2020-11-06 </span>
      <div class="post-category">
          <a href="/categories/java/"> java </a>
          </div>
    </div>
  </header>
  
  <div class="post-content">
    <div class="post-summary">
      格式 1 2 java -cp .:jar包路径 主类的全限定名称 # cp 是classpath的意思, windows下用;隔开 使用场景 jar包没有指定mainClas
    </div>
    <div class="read-more">
      <a href="/post/java/java-cp/" class="read-more-link">阅读更多</a>
    </div>
  </div>
</article>

    <article class="post">
  <header class="post-header">
    <h1 class="post-title"><a class="post-link" href="/post/java/java-pattern-strategy/">设计模式之策略模式(Strategy Pattern)</a></h1>
    <div class="post-meta">
      <span class="post-time"> 2020-11-06 </span>
      <div class="post-category">
          <a href="/categories/java/"> java </a>
          </div>
    </div>
  </header>
  
  <div class="post-content">
    <div class="post-summary">
      策略模式(Strategy Pattern) 策略模式定义了一组算法，将它们逐个封装起来，并使它们可以相互替换。策略可以让算法独立于使用它们的客户而变化。 我的
    </div>
    <div class="read-more">
      <a href="/post/java/java-pattern-strategy/" class="read-more-link">阅读更多</a>
    </div>
  </div>
</article>

    <article class="post">
  <header class="post-header">
    <h1 class="post-title"><a class="post-link" href="/post/java/java-springboot-async/">SpringBoot之线程池异步方法调用</a></h1>
    <div class="post-meta">
      <span class="post-time"> 2020-11-05 </span>
      <div class="post-category">
          <a href="/categories/java/"> java </a>
          </div>
    </div>
  </header>
  
  <div class="post-content">
    <div class="post-summary">
      代码备忘 application.yml 1 2 3 4 5 6 7 8 spring:task:execution:thread-name-prefix:stub-task-pool:core-size:2max-size:50queue-capacity:10000 AsyncConfiguration类 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
    </div>
    <div class="read-more">
      <a href="/post/java/java-springboot-async/" class="read-more-link">阅读更多</a>
    </div>
  </div>
</article>

    <article class="post">
  <header class="post-header">
    <h1 class="post-title"><a class="post-link" href="/post/java/java-pattern-dutylink/">设计模式之责任链模式（Chain of Responsibility Pattern）</a></h1>
    <div class="post-meta">
      <span class="post-time"> 2020-11-05 </span>
      <div class="post-category">
          <a href="/categories/java/"> java </a>
          </div>
    </div>
  </header>
  
  <div class="post-content">
    <div class="post-summary">
      责任链模式（Chain of Responsibility Pattern） 把职责分属到不同的节点，每个节点会做三件事情，一是判断是否是职责所在，二是处理分内之事，三是把处理
    </div>
    <div class="read-more">
      <a href="/post/java/java-pattern-dutylink/" class="read-more-link">阅读更多</a>
    </div>
  </div>
</article>

    <article class="post">
  <header class="post-header">
    <h1 class="post-title"><a class="post-link" href="/post/java/java-spring-multivaluemap/">Spring常用工具类之MultiValueMap</a></h1>
    <div class="post-meta">
      <span class="post-time"> 2020-11-05 </span>
      <div class="post-category">
          <a href="/categories/java/"> java </a>
          </div>
    </div>
  </header>
  
  <div class="post-content">
    <div class="post-summary">
      应用场景 主要是为应对要一个Key对应多个Value的情况。 示例代码 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 package cn.lglspace.stulab.util; import static org.assertj.core.api.Assertions.assertThat; import org.junit.jupiter.api.Test; import org.springframework.util.LinkedMultiValueMap; import org.springframework.util.MultiValueMap;
    </div>
    <div class="read-more">
      <a href="/post/java/java-spring-multivaluemap/" class="read-more-link">阅读更多</a>
    </div>
  </div>
</article>

    <article class="post">
  <header class="post-header">
    <h1 class="post-title"><a class="post-link" href="/post/java/java-springboot-junit5/">SpringBoot基于JUnit5做单元测试</a></h1>
    <div class="post-meta">
      <span class="post-time"> 2020-11-05 </span>
      <div class="post-category">
          <a href="/categories/java/"> java </a>
          </div>
    </div>
  </header>
  
  <div class="post-content">
    <div class="post-summary">
      参考文章 https://www.jianshu.com/p/4648fd55830e 示例代码 依赖配置pom.xml 1 2 3 4 5 6 7 8 9 10 11 &lt;dependency&gt; &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt; &lt;artifactId&gt;spring-boot-starter-test&lt;/artifactId&gt; &lt;scope&gt;test&lt;/scope&gt; &lt;exclusions&gt; &lt;exclusion&gt; &lt;groupId&gt;org.junit.vintage&lt;/groupId&gt; &lt;artifactId&gt;junit-vintage-engine&lt;/artifactId&gt; &lt;/exclusion&gt; &lt;/exclusions&gt; &lt;/dependency&gt; Controller层代码 1 2 3 4 5 6 7 8 9 10 11 12 13 14 package
    </div>
    <div class="read-more">
      <a href="/post/java/java-springboot-junit5/" class="read-more-link">阅读更多</a>
    </div>
  </div>
</article>

    <article class="post">
  <header class="post-header">
    <h1 class="post-title"><a class="post-link" href="/post/java/java-spring-annotation-primary/">Spring之@Primary注解</a></h1>
    <div class="post-meta">
      <span class="post-time"> 2020-11-05 </span>
      <div class="post-category">
          <a href="/categories/java/"> java </a>
          </div>
    </div>
  </header>
  
  <div class="post-content">
    <div class="post-summary">
      作用简介 当Spring容器发现某个类有多个实例bean时，会优先选用带有@Primary注解的bean。 示例代码 Configuration类
    </div>
    <div class="read-more">
      <a href="/post/java/java-spring-annotation-primary/" class="read-more-link">阅读更多</a>
    </div>
  </div>
</article>

    <article class="post">
  <header class="post-header">
    <h1 class="post-title"><a class="post-link" href="/post/java/java-springboot-undertow/">SpringBoot启用Undertow作为web服务器</a></h1>
    <div class="post-meta">
      <span class="post-time"> 2020-11-04 </span>
      <div class="post-category">
          <a href="/categories/java/"> java </a>
          </div>
    </div>
  </header>
  
  <div class="post-content">
    <div class="post-summary">
      Undertow简介 Undertow是一个Java开发的灵活的高性能Web服务器，提供包括阻塞和基于NIO的非阻塞机制。Undertow是红
    </div>
    <div class="read-more">
      <a href="/post/java/java-springboot-undertow/" class="read-more-link">阅读更多</a>
    </div>
  </div>
</article>

    <article class="post">
  <header class="post-header">
    <h1 class="post-title"><a class="post-link" href="/post/java/java-springboot-param-selfcustom/">SpringBoot应用中自定义参数配置</a></h1>
    <div class="post-meta">
      <span class="post-time"> 2020-11-04 </span>
      <div class="post-category">
          <a href="/categories/java/"> java </a>
          </div>
    </div>
  </header>
  
  <div class="post-content">
    <div class="post-summary">
      批量读取自定义配置 自定义配置类 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 package cn.lglspace.stulab.config; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.context.annotation.PropertySource; import org.springframework.stereotype.Component; import lombok.Data; @Data @Component // @PropertySource(value = {&#34;classpath:sys-info.properties&#34;}) @ConfigurationProperties(prefix = SysInfoConfig.PREFIX, ignoreInvalidFields = true) public class SysInfoConfig { public static final String PREFIX = &#34;sys-info&#34;; // 这里对
    </div>
    <div class="read-more">
      <a href="/post/java/java-springboot-param-selfcustom/" class="read-more-link">阅读更多</a>
    </div>
  </div>
</article>

    <article class="post">
  <header class="post-header">
    <h1 class="post-title"><a class="post-link" href="/post/java/java-secure-random/">JAVA生成安全随机数</a></h1>
    <div class="post-meta">
      <span class="post-time"> 2020-11-04 </span>
      <div class="post-category">
          <a href="/categories/java/"> java </a>
          </div>
    </div>
  </header>
  
  <div class="post-content">
    <div class="post-summary">
      示例代码 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 package cn.lglspace.stulab.util; import java.security.NoSuchAlgorithmException; import java.security.SecureRandom; import org.apache.commons.lang3.RandomStringUtils; public class
    </div>
    <div class="read-more">
      <a href="/post/java/java-secure-random/" class="read-more-link">阅读更多</a>
    </div>
  </div>
</article>

    <article class="post">
  <header class="post-header">
    <h1 class="post-title"><a class="post-link" href="/post/java/java-springboot-eclipse/">Eclipse中对application.yml配制自动提示功能</a></h1>
    <div class="post-meta">
      <span class="post-time"> 2020-11-04 </span>
      <div class="post-category">
          <a href="/categories/java/"> java </a>
          </div>
    </div>
  </header>
  
  <div class="post-content">
    <div class="post-summary">
      安装 Spring Tools 4 插件 此处从略&hellip;&hellip; 安装插件后application.yml会有绿叶标识！ 设置File Associations 此处从略&hell
    </div>
    <div class="read-more">
      <a href="/post/java/java-springboot-eclipse/" class="read-more-link">阅读更多</a>
    </div>
  </div>
</article>

    <article class="post">
  <header class="post-header">
    <h1 class="post-title"><a class="post-link" href="/post/java/java-springboot-war/">SpringBoot应用如何打包成WAR包</a></h1>
    <div class="post-meta">
      <span class="post-time"> 2020-11-04 </span>
      <div class="post-category">
          <a href="/categories/java/"> java </a>
          </div>
    </div>
  </header>
  
  <div class="post-content">
    <div class="post-summary">
      修改打包方式 1 2 &lt;!-- pom.xml --&gt; &lt;packaging&gt;war&lt;/packaging&gt; 修改build插件 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 &lt;!-- pom.xml --&gt; &lt;build&gt; &lt;!-- 应与application..yml中conte
    </div>
    <div class="read-more">
      <a href="/post/java/java-springboot-war/" class="read-more-link">阅读更多</a>
    </div>
  </div>
</article>

    <article class="post">
  <header class="post-header">
    <h1 class="post-title"><a class="post-link" href="/post/others/notepad-hex/">如何使用Notepad&#43;&#43;查看文件的十六进制</a></h1>
    <div class="post-meta">
      <span class="post-time"> 2020-11-04 </span>
      <div class="post-category">
          <a href="/categories/others/"> others </a>
          </div>
    </div>
  </header>
  
  <div class="post-content">
    <div class="post-summary">
      安装&quot;HEX-Editor&quot;插件 法一 &ldquo;插件&rdquo;-&gt;&ldquo;插件管理&rdquo;-&g
    </div>
    <div class="read-more">
      <a href="/post/others/notepad-hex/" class="read-more-link">阅读更多</a>
    </div>
  </div>
</article>

    <article class="post">
  <header class="post-header">
    <h1 class="post-title"><a class="post-link" href="/post/java/java-class-version/">如何查看class文件的版本号</a></h1>
    <div class="post-meta">
      <span class="post-time"> 2020-11-04 </span>
      <div class="post-category">
          <a href="/categories/java/"> java </a>
          </div>
    </div>
  </header>
  
  <div class="post-content">
    <div class="post-summary">
      通过编辑器查看class文件的十六进制编码 通过notepad++的hex-editor插件可以转换 1 2 // 第一行前面16个字节 ca fe ba be 00 00 00 34
    </div>
    <div class="read-more">
      <a href="/post/java/java-class-version/" class="read-more-link">阅读更多</a>
    </div>
  </div>
</article>

    <article class="post">
  <header class="post-header">
    <h1 class="post-title"><a class="post-link" href="/post/java/java-springboot-lombok/">SpringBoot中引入Lombok插件</a></h1>
    <div class="post-meta">
      <span class="post-time"> 2020-11-03 </span>
      <div class="post-category">
          <a href="/categories/java/"> java </a>
          </div>
    </div>
  </header>
  
  <div class="post-content">
    <div class="post-summary">
      官网 https://projectlombok.org/ gradle中引入Lombok 参考：https://projectlombok.org/setup/gradle 1 2 3 4 5 6 7 8 // 修改
    </div>
    <div class="read-more">
      <a href="/post/java/java-springboot-lombok/" class="read-more-link">阅读更多</a>
    </div>
  </div>
</article>

    <article class="post">
  <header class="post-header">
    <h1 class="post-title"><a class="post-link" href="/post/java/java-springboot-problem/">SprintBoot应用的常见问题处理</a></h1>
    <div class="post-meta">
      <span class="post-time"> 2020-11-03 </span>
      <div class="post-category">
          <a href="/categories/java/"> java </a>
          </div>
    </div>
  </header>
  
  <div class="post-content">
    <div class="post-summary">
      Whitelabel Error Page Whitelabel Error Page This application has no explicit mapping for /error, so you are seeing this as a fallback. Mon Nov 02 09:36:08 CST 2020 There was an unexpected error (type=Not Found, status=404). 1 2 3 4 5 6 7 8 9 10 11 12 13 import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; @RestController public class SysDefaultController { // 增加对根路径的处理方法
    </div>
    <div class="read-more">
      <a href="/post/java/java-springboot-problem/" class="read-more-link">阅读更多</a>
    </div>
  </div>
</article>

    <article class="post">
  <header class="post-header">
    <h1 class="post-title"><a class="post-link" href="/post/windows/windows-scoop/">Scoop的安装和使用</a></h1>
    <div class="post-meta">
      <span class="post-time"> 2020-11-03 </span>
      <div class="post-category">
          <a href="/categories/windows/"> windows </a>
          </div>
    </div>
  </header>
  
  <div class="post-content">
    <div class="post-summary">
      安装 查看powershell的版本号 1 2 3 4 # 从cmd模式切换到powershell模式 powershell # 查看相关信息，version即为powershe
    </div>
    <div class="read-more">
      <a href="/post/windows/windows-scoop/" class="read-more-link">阅读更多</a>
    </div>
  </div>
</article>

    <article class="post">
  <header class="post-header">
    <h1 class="post-title"><a class="post-link" href="/post/git/git-ssh-keys/">Git多公钥配置</a></h1>
    <div class="post-meta">
      <span class="post-time"> 2020-11-03 </span>
      <div class="post-category">
          <a href="/categories/git/"> git </a>
          </div>
    </div>
  </header>
  
  <div class="post-content">
    <div class="post-summary">
      操作备忘 生成秘钥时，指定文件 1 ssh-keygen -t rsa -C &#34;abc@test.com&#34; -f ~\.ssh\id_rsa_test 配置~/.ssh/config文件 没有该文件，可以手动新建 1 2 3 4 5 Host gitee.com HostName gitee.com User git IdentityFile C:\Users\Administrator\.ssh\id_rsa_test IdentitiesOnly yes 清理缓存
    </div>
    <div class="read-more">
      <a href="/post/git/git-ssh-keys/" class="read-more-link">阅读更多</a>
    </div>
  </div>
</article>

    <article class="post">
  <header class="post-header">
    <h1 class="post-title"><a class="post-link" href="/post/windows/cmd-relate/">Windows命令行操作备忘</a></h1>
    <div class="post-meta">
      <span class="post-time"> 2020-11-03 </span>
      <div class="post-category">
          <a href="/categories/windows/"> windows </a>
          </div>
    </div>
  </header>
  
  <div class="post-content">
    <div class="post-summary">
      设置系统环境变量 1 2 3 4 # 在cmd里面，字符串变量中%表示为^% set javabin=^%JAVA_HOME^%\bin # /m表示修改系统环境变量 setx &#34;Path&#34; &#34;%Path%;%javabin%&#34; /m 文件及目录的删除 1 2 3 4 5 # 删除空目录
    </div>
    <div class="read-more">
      <a href="/post/windows/cmd-relate/" class="read-more-link">阅读更多</a>
    </div>
  </div>
</article>

    <article class="post">
  <header class="post-header">
    <h1 class="post-title"><a class="post-link" href="/post/java/java-gradle-springboot/">如何通过Gradle构建SpringBoot应用</a></h1>
    <div class="post-meta">
      <span class="post-time"> 2020-11-03 </span>
      <div class="post-category">
          <a href="/categories/java/"> java </a>
          </div>
    </div>
  </header>
  
  <div class="post-content">
    <div class="post-summary">
      参考地址 https://spring.io/guides/gs/rest-service/ 具体实践（以Gradle为例） 进入官网,选择相应配置，导出目录 https://start.spring.io/ 修改配制 1、采用本地Gradle 如果$PROJECT_HOME/g
    </div>
    <div class="read-more">
      <a href="/post/java/java-gradle-springboot/" class="read-more-link">阅读更多</a>
    </div>
  </div>
</article>

    <article class="post">
  <header class="post-header">
    <h1 class="post-title"><a class="post-link" href="/post/java/java-aliyun-relate/">阿里云Maven中央仓库配制</a></h1>
    <div class="post-meta">
      <span class="post-time"> 2020-11-03 </span>
      <div class="post-category">
          <a href="/categories/java/"> java </a>
          </div>
    </div>
  </header>
  
  <div class="post-content">
    <div class="post-summary">
      官网 https://maven.aliyun.com/mvn/guide Maven配制 1 2 3 4 5 6 7 &lt;!-- vim $MAVEN_HOME/conf/settings.xml &lt;mirrors&gt;&lt;/mirrors&gt; --&gt; &lt;mirror&gt; &lt;id&gt;aliyunmaven&lt;/id&gt; &lt;mirrorOf&gt;*&lt;/mirrorOf&gt; &lt;name&gt;阿里云公共仓库&lt;/name&gt; &lt;url&gt;https://maven.aliyun.com/repository/public&lt;/url&gt; &lt;/mirror&gt; Gradle配制 1 2 3
    </div>
    <div class="read-more">
      <a href="/post/java/java-aliyun-relate/" class="read-more-link">阅读更多</a>
    </div>
  </div>
</article>

    <article class="post">
  <header class="post-header">
    <h1 class="post-title"><a class="post-link" href="/post/gradle/gradle-relate/">Gradle相关操作备忘</a></h1>
    <div class="post-meta">
      <span class="post-time"> 2020-11-03 </span>
      <div class="post-category">
          <a href="/categories/gradle/"> gradle </a>
          </div>
    </div>
  </header>
  
  <div class="post-content">
    <div class="post-summary">
      安装 官网 https://gradle.org/install/ 百度网盘 链接: https://pan.baidu.com/s/12QbeP7wIjYU0wTMMbw15SA 提取码: ufzb 清除缓存 1 gradle build --refresh-dependencies 删除本地库文件 1 cd ~/.gradle/caches/modules-2/files-2.1/ 修改缓存路径 1 2 # windows命令行，（ setx /m ...）加上/m是指设
    </div>
    <div class="read-more">
      <a href="/post/gradle/gradle-relate/" class="read-more-link">阅读更多</a>
    </div>
  </div>
</article>

    </section>
  
  <nav class="pagination">
    
    <a class="next" href="/page/2/">
        <span class="next-text">下一页</span>
        <i class="iconfont icon-right"></i>
      </a>
  </nav>
        </div>
        

      </div>
    </main>

    <footer id="footer" class="footer">
      <div class="social-links">
      <a href="mailto:lglspace@outlook.com" class="iconfont icon-email" title="email"></a>
  <a href="https://lglspace.cn/index.xml" type="application/rss+xml" class="iconfont icon-rss" title="rss"></a>
</div>

<div class="copyright">
  

  

  <span class="copyright-year">
    &copy; 
    2020 - 
    2021<span class="heart"><i class="iconfont icon-heart"></i></span><span>lglspace</span>
  </span>
</div>

    </footer>

    <div class="back-to-top" id="back-to-top">
      <i class="iconfont icon-up"></i>
    </div>
  </div>
  
  <script src="https://cdn.jsdelivr.net/npm/jquery@3.2.1/dist/jquery.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>
  <script src="https://cdn.jsdelivr.net/npm/slideout@1.0.1/dist/slideout.min.js" integrity="sha256-t+zJ/g8/KXIJMjSVQdnibt4dlaDxc9zXr/9oNPeWqdg=" crossorigin="anonymous"></script>
  <script src="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@3.1.20/dist/jquery.fancybox.min.js" integrity="sha256-XVLffZaxoWfGUEbdzuLi7pwaUJv1cecsQJQqGLe7axY=" crossorigin="anonymous"></script>



<script type="text/javascript" src="/js/main.min.a74e82b84b872f6b028df4e965781ddbba1606f0253b4fad5e4cf3913cf576eb.js"></script>






<script src="/js/site-custom.js"></script>


</body>
</html>
